package com.fancyy.scm.activity;

import android.content.Intent;
import android.view.View;

import com.fancyy.scm.R;
import com.fancyy.scm.base.BaseActivity;
import com.fancyy.scm.base.annotation.Layout;
import com.fancyy.scm.base.annotation.Translucent;
import com.fancyy.scm.databinding.TrackingselectionBinding;

@Translucent
@Layout(R.layout.trackingselection)
public class TrackingSelectionActivity extends BaseActivity<TrackingselectionBinding> {

    public void onBackButtonClick(View view) {
        finish();
    }

    public void onProcessClick(View view) {
        Intent intent = new Intent(this, TrackingActivity.class);
        intent.putExtra("type", "Process");
        startActivity(intent);
    }

    public void onQCClick(View view) {
        Intent intent = new Intent(this, TrackingActivity.class);
        intent.putExtra("type", "QC");
        startActivity(intent);
    }
    public void onQCCancelClick(View view) {
        Intent intent = new Intent(this, CancelActivity.class);
        intent.putExtra("type", "QC");
        startActivity(intent);
    }
    public void onProcessCancelClick(View view) {
        Intent intent = new Intent(this, CancelActivity.class);
        intent.putExtra("type", "Process");
        startActivity(intent);
    }
}